package org.geektimes.configuration.micro.config.source.servlet;

import org.eclipse.microprofile.config.Config;

public class ThreadLocalConfig {
    private ThreadLocal<Config> configThreadLocal = new ThreadLocal<Config>();

    private ThreadLocalConfig(){

    }

    public static ThreadLocalConfig getInstance(){
        return new ThreadLocalConfig();
    }

    public ThreadLocal<Config> getConfigThreadLocal() {
        return configThreadLocal;
    }
}
